package com.zhumo.sz.entity.subway;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "地铁订单",description = "地铁支付订单表")
public class SubwayGateSwipeDetail {

    @ApiModelProperty("自增主键")
    private String id;

    @ApiModelProperty("订单id")
    private String orderId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("门票类型")
    private String ticketType;

    @ApiModelProperty("购票地点")
    private String ticketLocation;

    @ApiModelProperty("刷码方式")
    private String swipeType;

    @ApiModelProperty("支付方式")
    private String  paymentType;

    @ApiModelProperty("起始线路编码")
    private String startLineCode;

    @ApiModelProperty("起始站点编码")
    private String startSiteCode;

    @ApiModelProperty("起始站点名称")
    private String startSiteName;

    @ApiModelProperty("进站闸机组编码")
    private String startGateUnitCode;

    @ApiModelProperty("进站闸机编码")
    private String startGateCode;

    @ApiModelProperty("结束线路编码")
    private String endLineCode;

    @ApiModelProperty("结束站点编码")
    private String endSiteCode;

    @ApiModelProperty("结束站点名称")
    private String endSiteName;

    @ApiModelProperty("出站闸机组编码")
    private String endGateUnitCode;

    @ApiModelProperty("出站闸机编码")
    private String endGateCode;

    @ApiModelProperty("是否学生票")
    private boolean isStu;

    @ApiModelProperty("是否残疾人士门票")
    private boolean isDeformed;

    @ApiModelProperty("是否换乘")
    private boolean isTransfer;

    @ApiModelProperty("是否参加支付宝活动")
    private boolean isAliPlayActive;

    @ApiModelProperty("支付宝活动编码")
    private Integer AliPlayModelType;

    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty("实际应付金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty("深圳一卡通减免金额")
    private BigDecimal oneCardReductionAmount;

    @ApiModelProperty("支付宝活动减免金额")
    private BigDecimal alipayDeductionAmount;

    @ApiModelProperty("深圳关爱通减免金额")
    private BigDecimal CarePassDeductionAmount;

    @ApiModelProperty("订单流水号")
    private Long PaymentSerialNumber;

    @ApiModelProperty("进站时间")
    private Timestamp startTime;

    @ApiModelProperty("出站时间")
    private Timestamp endTime;

    @ApiModelProperty("订单推送时间")
    private Timestamp orderTime;

    @ApiModelProperty("支付时间")
    private Timestamp paymentTime;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("状态更新时间")
    private Timestamp updateTime;

}
